package com.qms.qep.domain;

import java.util.Date;

import com.qms.common.annotation.Excel;
import com.qms.common.core.domain.BaseEntity;

/**
 * 模板变量对象 template_variable
 */
public class TemplateVariable extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 变量ID */
    private Long id;

    /** 模板ID */
    @Excel(name = "模板ID")
    private Long templateId;

    /** 变量名称 */
    @Excel(name = "变量名称")
    private String name;

    /** 变量标签 */
    private String label;

    /** 变量类型 */
    private String type;

    /** 默认值 */
    @Excel(name = "默认值")
    private String defaultValue;

    /** 是否必填 */
    private String required;

    /** 排序序号 */
    private Integer orderNum;

    /** 变量描述 */
    @Excel(name = "变量描述")
    private String description;

    /** 数据源类型 */
    @Excel(name = "数据源类型")
    private String sourceType;

    /** 数据源字段 */
    @Excel(name = "数据源字段")
    private String sourceField;

    /** 固定值 */
    private String fixedValue;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getRequired() {
        return required;
    }

    public void setRequired(String required) {
        this.required = required;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getSourceField() {
        return sourceField;
    }

    public void setSourceField(String sourceField) {
        this.sourceField = sourceField;
    }

    public String getFixedValue() {
        return fixedValue;
    }

    public void setFixedValue(String fixedValue) {
        this.fixedValue = fixedValue;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
} 